package com.yby6.web.controller.tool;


import com.yby6.common.exception.DemoModeException;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: yangbuyi-rbac
 * @ClassName: DemoModelExceptionController
 * @create: 2021-05-12 10:57
 * @author: yangshuai
 * @since： JDK1.8
 * @DemoModelExceptionController: 演示异常跳转$
 **/

@RestController
public class DemoModelExceptionController {

	/**
	 * 演示模式异常
	 */
	@RequestMapping(value = "demoModeException")
	public void demoModeException() {
		throw new DemoModeException();
	}

}
